<div class="append">
	<form action="{write_url url=$thisurl go='append'}" method="post">
	<table width="100%" border="0" cellspacing="1" cellpadding="0">
		<tr><th colspan="4">更改物流状态</th></tr>
		<tr>
			<td width="15%" align="right">订单编号</td>
			<td>{brite_spot query =$get.info str=$orders.orders_id}</td>
			<td width="15%" align="right">订单状态</td>
			<td>{$status[$orders.status]}</td>
		</tr>
		<tr>
			<td align="right" class="Need">购买人</td>
			<td>{brite_spot query =$get.info str=$orders.account}<input name="proxy_id" type="hidden" value="{$orders.proxy_id}" /></td>
			<td align="right">组退点</td>
			<td>{$orders.rebate} %</td>
		</tr>
		<tr>
			<td align="right">业务</td>
			<td>{brite_spot query =$get.info str=$orders.salesman_name}</td>
			<td align="right">客服</td>
			<td>{brite_spot query =$get.info str=$orders.service_name}</td>
		</tr>
		<tr>
			<td align="right" class="Need">总价</td>
			<td>{$orders.price} 元</td>
			<td align="right">下单时间</td>
			<td>{$orders.time|date_format:"%Y-%m-%d %H:%M:%S"}</td>
		</tr>
		<tr>
			<td align="right">外部备注</td>
			<td colspan="3">{$orders.remark}</td>
		</tr>
		<tr>
			<td align="right" class="Need">外部物流状态</td>
			<td>
				<input name="Y_logistics_outer_id" type="hidden" value="{$orders.logistics_outer_id}" />
				<select name="logistics_outer_id">
					<option value="0">请选择外部物流状态</option>
				{foreach item=pso from=$logistics.outer}
					<option value="{$pso.id}" {selected val=$pso.id str=$orders.logistics_outer_id}>{$pso.name}</option>
				{/foreach}
				</select>
			</td>
			<td align="right" class="Need">内部物流状态</td>
			<td>
				<input name="Y_logistics_inner_id" type="hidden" value="{$orders.logistics_inner_id}" />
				<select name="logistics_inner_id">
					<option value="0">请选择内部物流状态</option>
				{foreach item=pso from=$logistics.inner}
					<option value="{$pso.id}" {selected val=$pso.id str=$orders.logistics_inner_id}>{$pso.name}</option>
				{/foreach}
				</select>
			</td>
		</tr>
		<tr>
			<td align="right" class="Need">快递类型</td>
			<td>
				<label for="ems"><input type="radio" name="express_type" value="EMS" id="ems" {checked val=$orders.express_type str='EMS'} /> EMS</label>
				<label for="shunfeng"><input type="radio" name="express_type" value="顺丰" id="shunfeng" {checked val=$orders.express_type str='顺丰'} /> 顺丰</label>
			</td>
			<td align="right" class="Need">快递单号</td>
			<td><input name="express_ID" type="text" style="width:120px" value="{$orders.express_ID}" /></td>
		</tr>
		<tr><th colspan="4" align="center"><input type="submit" value=" 确 认 " /></th></tr>
		<tr>
			<td colspan="4">
				<table width="100%" border="0" cellspacing="1" cellpadding="0" id="tab_show" style="margin:0.5em 0 0 0">
					<tr>
						<th>产品编号</th>
						<th>形状</th>
						<th>重量</th>
						<th>颜色</th>
						<th>净度</th>
						<th>进货价</th>
						<th>数量</th>
						<th>实际售价</th>
						<th>产品状态</th>
						<th width="5%">详情</th>
					</tr>
					{foreach item=pso from=$product}
					<tr align="center">
						<td>{$pso.info.ProID}</td>
						<td>{$shape[$pso.info.shape]}</td>
						<td>{$pso.info.weight}</td>
						<td>{$pso.info.color}</td>
						<td>{$pso.info.clarity}</td>
						<td>{$pso.info.infml}</td>
						<td>{$pso.amount}</td>
						<td>{$pso.price}</td>
						<td>{if $pso.status == 'Y'}通过审核{else}取消{/if}</td>
						<td class="action"><a href="javascript:;" onclick="show_detail(this , '{$pso.id}' , 10)" class="act_3_10" title="产品详情"></a></td>
					</tr>
					{/foreach}
				</table>
			</td>
		</tr>
	</table>
	</form>
</div>
